package service;

import mapper.SysRolesMapper;
import mapper.SysUsersMapper;
import model.dto.SysRoleDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: service.SysRolesServiceImpl
 * @author: Xia
 * @create: 2023-03-14 16:49
 */
@Service
public class SysRolesServiceImpl implements SysRolesService{

    @Autowired
    private SysRolesMapper mapper;
    @Override
    public List<SysRoleDto> getRolesList() {
        return mapper.getRolesList();
    }
}
